<!DOCTYPE html>
<html>

<head>
	<title>闲瓜市场 - 注册</title>
	<script src="http://libs.baidu.com/jquery/1.9.0/jquery.js"></script>
	<link rel="stylesheet" type="text/css" href="{{url_for('static',filename='templates/register.css')}}" />
	<script src="{{url_for('static',filename='js/register.js')}}"></script>
</head>

<body>
	<nav class="nav">
		<div class="navHerf" id="toFrontPage"><a href="/">首页</a></div>
		<div class="navHerf" id="toLoginPage"><a href="/login">登录</a></div>
		<div class="navHerf" id="toRegPage"><a href="/register">注册</a></div>
		<div class="navHerf" id="toUploadPage"><a href="/upload_new">添加商品</a></div>
		<div class="navUser" id="curUser"><a href="/myinfo">未登录</a></div>
	</nav>
	<div id="title">
		<span>
			<h1>注册</h1>
		</span>
		<span>
			昵称和密码是必填项，其他信息可以注册后再修改
		</span>
	</div>
	<div>
		<form id="Reg-Info" method="post">
			<div class="itemInput">
				<span class="hint">昵称：</span>
				<input class="textInput" type="text" name="name" placeholder="昵称（必填）">
			</div>
			<div class="itemInput">
				<span class="hint">密码：</span>
				<input class="textInput" type="password" name="psw" placeholder="密码（必填）">
			</div>
			<div class="itemInput">
				<span class="hint">手机：</span>
				<input class="textInput" type="text" name="tel" placeholder="手机号码">
			</div>
			<div class="itemInput">
				<span class="hint">微信号：</span>
				<input class="textInput" type="text" name="vx" placeholder="微信号">
			</div>
			<div class="itemInput">
				<span class="hint">QQ号：</span>
				<input class="textInput" type="text" name="qq" placeholder="QQ号">
			</div>
			<div class="itemInput">
				<span class="hint">邮箱：</span>
				<input class="textInput" type="text" name="email" placeholder="E-mail">
			</div>
			<div class="itemInput">
				<span class="hint">校区：</span>
				<input class="textInput" type="text" name="cps" placeholder="校区">
			</div>
			<div class="itemInput">
				<span class="hint">学号：</span>
				<input class="textInput" type="text" name="sid" placeholder="学号">
			</div>
			<div class="submit">
				<input class="submitButton" type="button" value="确定" name="reg" onclick="subReg()">
			</div>
		</form>
	</div>
</body>

</html>